# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Focus',
            fields=[
                ('id', models.AutoField(primary_key=True, verbose_name='ID', serialize=False, auto_created=True)),
                ('note_info', models.CharField(default='', max_length=200, blank=True)),
            ],
        ),
        migrations.CreateModel(
            name='Info',
            fields=[
                ('id', models.AutoField(primary_key=True, verbose_name='ID', serialize=False, auto_created=True)),
                ('code', models.CharField(max_length=6, help_text='股票代码')),
                ('short', models.CharField(max_length=10, help_text='股票简称')),
                ('chg', models.CharField(max_length=10, help_text='涨跌幅')),
                ('turnover', models.CharField(max_length=255, help_text='换手率')),
                ('price', models.DecimalField(decimal_places=2, max_digits=10, help_text='最新价')),
                ('highs', models.DecimalField(decimal_places=2, max_digits=10, help_text='前期高点')),
                ('time', models.DateTimeField()),
            ],
        ),
        migrations.AddField(
            model_name='focus',
            name='focus_info',
            field=models.ForeignKey(to='stock.Info', db_column='info_id', max_length=10),
        ),
    ]
